package com.qlu.syq.service.admin;
/**
 * 房间service
 */
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.qlu.syq.entity.admin.Room;

@Service
public interface RoomService {
	int add(Room room);
	int edit(Room room);
	int delete(Long id);
	List<Room> findList(Map<String, Object> queryMap);
	List<Room> findAll(Map<String, Object> queryMap);
	Integer getTotal(Map<String, Object> queryMap);
	Room find(Long id);
	Room findBySn(String sn);

	List<Map> findRoomList(Map<String, Object> queryMap);
	int addRoom(Room room);
	int editRoom(Room room);

	int deleteRoom(Long id);

	List<Room> listAllUnused(Map<String, Object> queryMap);
}
